package com.quanhua;


import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ApplicationContext;

import java.util.Arrays;

@SpringBootApplication(exclude={DruidDataSourceAutoConfigure.class, DataSourceAutoConfiguration.class},scanBasePackages =
"com.quanhua")
@EnableDiscoveryClient

public class GatewayApplication {

    public static void main(String[] args) {
        ApplicationContext context = SpringApplication.run(GatewayApplication.class, args);
        //Arrays.stream(context.getBeanDefinitionNames()).forEach(System.out::println);
    }

}
